package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;


/**
 * The persistent class for the per_pms_j_ygjn database table.
 * 
 */
@Entity
@Table(name="per_pms_j_ygjn")
@NamedQuery(name="PerPmsJYgjn.findAll", query="SELECT p FROM PerPmsJYgjn p")
public class PerPmsJYgjn implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int ygjnid;

	private Timestamp ygjntime;

	//bi-directional many-to-one association to PerPmsEmp
	@ManyToOne
	@JoinColumn(name="EMPID")
	private PerPmsEmp perPmsEmp;

	//bi-directional many-to-one association to PerPmsZJnxx
	@ManyToOne
	@JoinColumn(name="JNXXID")
	private PerPmsZJnxx perPmsZJnxx;

	public PerPmsJYgjn() {
	}

	public int getYgjnid() {
		return this.ygjnid;
	}

	public void setYgjnid(int ygjnid) {
		this.ygjnid = ygjnid;
	}

	public Timestamp getYgjntime() {
		return this.ygjntime;
	}

	public void setYgjntime(Timestamp ygjntime) {
		this.ygjntime = ygjntime;
	}

	public PerPmsEmp getPerPmsEmp() {
		return this.perPmsEmp;
	}

	public void setPerPmsEmp(PerPmsEmp perPmsEmp) {
		this.perPmsEmp = perPmsEmp;
	}

	public PerPmsZJnxx getPerPmsZJnxx() {
		return this.perPmsZJnxx;
	}

	public void setPerPmsZJnxx(PerPmsZJnxx perPmsZJnxx) {
		this.perPmsZJnxx = perPmsZJnxx;
	}

}